home *** CD-ROM | disk | FTP | other *** search
- Path: norconnect.no!not-for-mail
- From: kenneth@norconnect.no (Kenneth C. Nilsen)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Screen Problem in C.
- Date: 18 Jan 1996 05:52:21 +0100
- Organization: NorConnect Internet Services AS
- Message-ID: <802.6591T336T1581@norconnect.no>
- References: <4df2lt$cq1@newsman.murdoch.edu.au> <4dhk57$se3@werple.net.au>
- NNTP-Posting-Host: norconnect.no
- X-Newsreader: THOR 2.21 (Amiga;SOUP)
-
- >hassel@cleo.murdoch.edu.au (Martin Hasselbacher) writes:
- >>What I need to do is to detect if a particular screen is visible on the
- >>monitor.
-
- >The screen viewport modes has a flag called VP_HIDE that tells you if it is
- >visable, can't remember where this is documented to be a valid way to check
- >though maybe I saw it in a message or sample program from CBM. See
- >graphics/view.h
-
-
- Don't use this flag. Open intuition.library and check offset 60 in the base:
-
- move.l IntuitionBase(pc),a6
- move.l 60(a6),FrontScreen
-
- Remember to lock intuition base first to obtain correct data.
-
-
- ---
- CREATIVE LINKS __ Kenneth C. Nilsen
- http://www.norconnect.no/~kenneth /_/\ e-mail: kenneth@norconnect.no
- "Everything you want" \_\/ Software & MultiMedia developer
-
-